<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>${html_title!'新闻详情'}</title>
    <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1"/>
    <link rel="stylesheet" type="text/css" href="../static/css/news2.css?v=5">
    <script type="text/javascript" src="../static/config.js?v=1"></script>
    <script>
        ;(function () {
            function setRem() {
                var curWidth = document.documentElement.clientWidth || window.screen.width
                var basicWidth = 320
                var basicFontSize = 62.5
                var calcFontSize = curWidth / basicWidth * basicFontSize
                document.documentElement.style.fontSize = calcFontSize + '%'
            }

            setRem()
            window.addEventListener('resize', function () {
                setRem()
            })
        })()
    </script>
</head>

<body class="style-2">
<div id="news">
    <div class="main">
        <h1 id="id_title">${title!''}</h1>
        <div id="id_source" class="source">
            ${sourceName!''}&nbsp;<span>·</span>&nbsp;<em id="news-time">${pushTime!newsTime}</em>
        </div>
        <div id="id_content" class="${articleClass!'article'}" style="word-wrap:break-word;">
            ${content!summary}
        </div>

        <div class="rela-stocks">
            <div id="id_rela_stock" class="tit" style="padding-left:1.5rem;display:none">${rela_stock!'Related'}</div>
            <div class="stock-relative">
                <div class="stock-area clearfix"></div>
            </div>
            <div class="tit2 trig" onclick="toggleStocks()"><i class="arrow-ico"></i></div>
        </div>

        <div class="link-area">
            <#if  good_url  == "good">
                <a id="id_url" href="${url!''}" class="link">${read_more!'Read more'}</a>
            </#if>
        </div>

    </div>
</div>
<div id="relate-news">
    <div class="hd" id="relate-news-hd"></div>
    <div class="bd" id="relate-news-bd"></div>
</div>

<div id="download-tip">
    <div class="close" onclick="closeDownload()"></div>
    <div class="logo"></div>
    <a href="https://mobile.webull.com/introduce.html" class="btn">更多信息</a>
</div>
<div id="download-stock">
    <div class="close" onclick="closeStocks()"></div>
    <div class="logo"></div>
    <a href="http://www.stocks666.com" class="btn">Download</a>
</div>
<script type="text/javascript">
    window.url_md5 = "${url_md5!''}";
</script>
<script type="text/javascript" src="../static/news2.js?v=7"></script>
<script>
    var milliseconds = '${newsMilliTime}' - 0;
    var time_str = genNewsTime(milliseconds);
    if (time_str)
        document.getElementById("news-time").innerText = time_str;
</script>
</body>
</html>